Custom styles, timelines, and behaviors are fully supported in templates. To use styles, timelines, or behaviors in a template they must be defined in an editable region of a document which uses a template.
For more information, see Formatting text with CSS style sheets, About timelines, and Behaviors overview.